package com.mbatis.model;

import java.io.Serializable;

/**
 * serialVersionUID 为啥要加上UID ,为了版本变更的时候
 */

public class User implements Serializable {

    private static final long serialVersionUID = -8460576884343119355L;
    private Long id;
    private transient String uname;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUname() {
        return uname;
    }

    public void setUname(String uname) {
        this.uname = uname;
    }
}
